package com.jade.zsy.inventory.entity;

import com.jade.bss.db.IdEntity;
import lombok.Data;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 库存日志
 * User: jinya
 * Date: 2017/6/3
 * Time: 14:06
 * TEL :17701640710   MAIL:2009_jinya@163.com
 * To change this template use File | Settings | File Templates.
 */
@Data
@Entity
@Table(name = "ZSY_INV_INVENTORY_LOG")
public class InventoryLog extends IdEntity {
    @Column(name = "recordNo", nullable = false,updatable = true)
    private String recordNo;  // 关编单据
    @Column(name = "title", nullable = false,updatable = true)
    private String title;  // 标题
    @Column(name = "inventoryId", updatable = false, nullable = true, length = 100)
    private long inventoryId; /** 库存编号 **/
    @Column(name = "sku_code", nullable = true,updatable = true)
    private String skuCode;  // skuCode
    @Column(name = "skuSpec", nullable = true,updatable = true)
    private String skuSpec;  // 规格
    @Column(name = "skuName", nullable = true,updatable = true,length = 100)
    private String skuName; // 商品名称
    @Column(name = "qty", updatable = false, nullable = false, length = 100)
    private int qty;/** 数量 **/
    public String getRecordNo() {
        return recordNo;
    }

    public String getSkuCode() {
        return skuCode;
    }

    public void setSkuCode(String skuCode) {
        this.skuCode = skuCode;
    }

    public String getSkuSpec() {
        return skuSpec;
    }

    public void setSkuSpec(String skuSpec) {
        this.skuSpec = skuSpec;
    }

    public String getSkuName() {
        return skuName;
    }

    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }

    public void setRecordNo(String recordNo) {
        this.recordNo = recordNo;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public long getInventoryId() {
        return inventoryId;
    }

    public void setInventoryId(long inventoryId) {
        this.inventoryId = inventoryId;
    }

    public int getQty() {
        return qty;
    }

    public void setQty(int qty) {
        this.qty = qty;
    }
}
